$f: 19.2;
$h: 10.8;

body{
  background: #E0ECE3;

}
.home {
  position: relative;
  width: 100%;
  overflow: hidden;


  img{
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
  }

  .common_button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: auto;
    border: 0;
    box-shadow: none;
    height: 56/$f+vw;
    line-height: 56/$f+vw;
    padding: 0 2vw 0 76/$f+vw;
    cursor: pointer;
    position: relative;
    &:before {
      content: "";
      display: block;
      width: 56/$f+vw;
      height: 56/$f+vw;
      border-radius: 3.5vw;
      left: 0;
      top: 0;
      bottom: 0;
      transform: scale(1);
      background-color: #2A746E;
      transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform;
    }
    &:before {
      position: absolute;
      background-color: #2A746E;
      right: 0;
    }
    .dot {
      position: absolute;
      overflow: hidden;
      background-color: transparent;
      left: .28vw;
      top: 50%;
      width: 45/$f+vw;
      height: 45/$f+vw;
      transform: translateY(-50%) translateX(0) scale(1);
      box-shadow: 0 0 0 1px #F6EFE2;
      transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
      display: inline-block;
      border-radius: 100%;
      will-change: transform;
      &:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 1;
        transform: translateX(0);
        background-image: url(../images/whi.svg);
        background-size: 50% auto;
        transition: all .7s var(--expoOut);
        will-change: transform;
        background-position: center;
        background-repeat: no-repeat;
      }
    }
    .text {
      position: relative;
      color: #2A746E;
      transform: translateX(0);
      transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform;
      font-size: 20/$f+vw;
      font-style: normal;
      font-weight: 700;
      text-transform: uppercase;
    }
    &:hover{
      &:before{
        width: 100%;
        transform: scale(.9);
        transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
      }
      .dot {
        background-color: #F6EFE2;
        transform: translateY(-50%) translateX(.5vw) scale(.2);
        transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
        &:before {
          opacity: .0001;
          transform: translateX(100%);
          transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
        }
      }
      .text {
        color: #fff;
        transform: translateX(-1vw);
        transition: all .9s cubic-bezier(0.16, 1, 0.3, 1);
      }

    }
  }

  .common_bg{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
  }

  .common_more{
    height: 56/$f+vw;
    width: fit-content;
    padding: 0 46/$f+vw;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background:#2A746E;
    margin: auto;
    transition: .6s ease;
    &:hover{
      background: #000;
    }
    .circle{
      width: 10/$f+vw;
      height: 10/$f+vw;
      background: #fff;
      border-radius: 50%;
      margin: 0 14/$f+vw 0 0;
    }
    p{
      color: #FFF;
      font-size: 20/$f+vw;
      font-style: normal;
      font-weight: 600;
      line-height: 20/$f+vw; /* 100% */
      text-transform: uppercase;
    }
  }

  .section1{
    display: flex;
    padding: 149/$f+vw 0 78/$f+vw 180/$f+vw;
    .r{
      width: 988/$f+vw;
      height: 1010/$f+vw;
      display: flex;
      justify-content: flex-end;
      canvas{
        width: 100%;
        height: auto;
      }
    }
    .l{
      width: 730/$f+vw;
      margin: 199/$f+vw 24/$f+vw 0 0 ;
      .title{
        color: #203D3B;
        font-size: 88/$f+vw;
        font-style: normal;
        font-weight: 500;
        line-height: 110/$f+vw; /* 125% */
        text-transform: uppercase;
        margin: 0 0 22/$f+vw;
        text-align: center;
      }
      .pick{
        color: #666;
        text-align: center;
        font-size: 20/$f+vw;
        font-style: normal;
        font-weight: 500;
        line-height: 32/$f+vw; /* 160% */
        margin: 0 0 49/$f+vw;
      }
      .btn{
        text-align: center;
      }

    }
    .r{
      img{
        width: 100%;
      }
    }
  }

  .section2{
    padding: 28/$f+vw 120/$f+vw 113/$f+vw 120/$f+vw;
    position: relative;
    z-index: 1;
    .bg1{
      position: absolute;
      left: 0;
      width: 556/$f+vw;
      top: 0;
    }
    .end{
      padding: 0 84/$f+vw 0 0 ;
      margin: 0 0 159/$f+vw;
      display: flex;
      justify-content: flex-end;
      .title{
        h1{
          color: #203D3B;
          font-size: 80/$f+vw;
          font-style: normal;
          font-weight: 500;
          margin: 0 0 30/$f+vw;
        }
      }
    }
    .content{
      position: relative;
      z-index: 1;
      .button{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: none;
        img{
          cursor: pointer;
          pointer-events: auto;
          width: 56/$f+vw;
        }
      }
      .block{
        position: absolute;
        width: 214/$f+vw;
        height: 56/$f+vw;
        border-radius: 100/$f+vw;
        background: #2A746E;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: -1;
      }
      .swiper1{
        width: 1450/$f+vw;
        margin: auto;
        .swiper-wrapper{
          transition-timing-function: cubic-bezier(0.13, 0.83, 0.01, 1.04) !important;
          transition: .5s;
        }
        .swiper-slide{
          &.swiper-slide-active{
            .text{
              color: #fff;
              &:after{
                transform: scaleX(1);
              }
            }
          }
          .img{
            width: 393/$f+vw;
            height: 457/$f+vw;
            margin: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            transform-origin: bottom;
            img{
              width: 100%;
            }
          }
          .text{
            margin: 165/$f+vw auto 0;
            width: fit-content;
            height: 56/$f+vw;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #000;
            font-size: 20/$f+vw;
            font-style: normal;
            font-weight: 500;
            text-transform: capitalize;
            position: relative;
            transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
            &:after{
              content: '';
              position: absolute;
              width: 100%;
              height: 2/$f+vw;
              left: 0;
              bottom: 15/$f+vw;
              background: #fff;
              transform: scaleX(0);
              transform-origin: left;
              transition: all .7s cubic-bezier(0.16, 1, 0.3, 1);
            }
          }
        }
      }
    }
  }

  .section3{
    padding: 0 200/$f+vw 110/$f+vw 200/$f+vw;
    position: relative;
    z-index: 1;
    .bg1{
      top: 650/$f+vw;
      left: 0;
      position: absolute;
      z-index: -1;
      pointer-events: none;
      width: 211/$f+vw;
    }
    .bg2{
      top: -180/$f+vw;
      right: -10/$f+vw;
      position: absolute;
      z-index: -1;
      pointer-events: none;
      width: 677/$f+vw;
    }
    .title{
       h1{
         text-align: center;
         color: #203D3B;
         font-size: 80/$f+vw;
         font-style: normal;
         font-weight: 500;
         margin: 0 0 30/$f+vw;
         line-height: 120/$f+vw;
       }
       .btn{
        text-align: center;
       }
    }

    .content{
      display: grid;
      grid-template-columns: repeat(8,1fr);
      gap: 0 20/$f+vw;
      margin: 60/$f+vw 0 0 0;
      .item{
        width: 100%;
        border-radius: 16/$f+vw;
        padding: 0 0 12/$f+vw;
        background: #FFF;
        .img{
          width: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          margin: 0 auto 12/$f+vw;
          overflow: hidden;
          &:hover{
            img{
              transform: scale(1.05);
            }
          }
          img{
            width: 100%;
            transition: 1s;
          }
        }
        .text{
          color: #666;
          text-align: center;
          font-size: 16/$f+vw;
          font-style: normal;
          font-weight: 500;
          text-transform: uppercase;
        }
      }
    }

    .content2{
      margin: 60/$f+vw 0 0 0;
      text-align: center;
      padding: 60/$f+vw 120/$f+vw 70/$f+vw 120/$f+vw;
      border-radius: 30/$f+vw;
      background: #F0FAF3;
      h1{
        color: #203D3B;
        font-size: 48/$f+vw;
        font-style: normal;
        font-weight: 500;
        margin: 0 0 30/$f+vw;
      }
      .text{
        color: #666;
        text-align: center;
        font-size: 16/$f+vw;
        font-style: normal;
        font-weight: 500;
        line-height: 24/$f+vw; /* 150% */
      }
    }



  }

  .section4{
    padding: 100/$f+vw 200/$f+vw 146/$f+vw 200/$f+vw;
    display: flex;
    position: relative;
    z-index: 6;
    .map{
      position: absolute;
      right: -439/$f+vw;
      top: 250/$f+vw;
      z-index: -1;
      width: 1586/$f+vw;
      transform: rotate(-11.761deg);
      pointer-events: none;
    }
    .map2{
      position: absolute;
      left: 0;
      top: 446/$f+vw;
      z-index: -1;
      pointer-events: none;
    }
    .l{
      width: 467/$f+vw;
      margin: 0 171/$f+vw 0 0;
      .title{
        color: #203D3B;
        font-size: 80/$f+vw;
        font-style: normal;
        font-weight: 500;
        line-height: 120/$f+vw; /* 150% */
        margin: 0 0 49/$f+vw;
      }
      .pick {
        color: #666;
        font-family: "PingFang SC";
        font-size: 16/$f+vw;
        font-style: normal;
        font-weight: 500;
        line-height: 24/$f+vw; /* 150% */
        margin: 0 0 71/$f+vw;
      }
    }
    .r{
      .figure{
        width: fit-content;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 70/$f+vw 220/$f+vw;
        margin: 0 0 0 49/$f+vw;
        .item{
          span{
            color: #2A746E;
            font-size: 64/$f+vw;
            font-style: normal;
            font-weight: 700;
            position: relative;
            display: block;
            line-height: 112/$f+vw;
            &:after{
              content: '';
              position: absolute;
              width: 100%;
              height: 1px;
              background: #203D3B;
              bottom: 20/$f+vw;
              left: 0;
            }
          }
          p{
            color: #333;
            font-size: 20/$f+vw;
            font-style: normal;
            font-weight: 500;
          }
        }
      }
      .images{
        margin: 83/$f+vw 0 0 0;
        display: flex;
        .img{
          width: 274/$f+vw;
          height: 184/$f+vw;
          &:not(:last-child) {
            margin: 0 30/$f+vw 0 0;
          }
        }
      }
    }
  }

  .section5{
    padding: 0 0 109/$f+vw 200/$f+vw;
    display: flex;
    .r{
      width: 1157/$f+vw;
      position: relative;
      margin: 103/$f+vw 0 0 0;
      &:after{
        background-image: -webkit-linear-gradient(right, #E0ECE3 20%, rgba(235, 237, 240, 0));
        content: "";
        height: 120%;
        position: absolute;
        right: -15px;
        top: -10px;
        width: 150/$f+vw;
        z-index: 2;
      }
      &:before{
        background-image: -webkit-linear-gradient(right, #E0ECE3 20%, rgba(235, 237, 240, 0));
        content: "";
        height: 120%;
        position: absolute;
        left: -15px;
        top: -10px;
        width: 150/$f+vw;
        z-index: 2;
        transform: rotate(180deg);
      }
      .swiper3{
        width: 100%;
        .swiper-wrapper{
          transition-timing-function: linear!important;
        }
        img{
          width: 100%;
          border-radius: 20/$f+vw;
        }
      }
    }
    .l{
      width: 500/$f+vw;
      margin: 0 63/$f+vw 0 0;
      .title{
        color: #203D3B;
        font-size: 80/$f+vw;
        font-style: normal;
        font-weight: 500;
        margin: 0 0 30/$f+vw;
      }
      .pick{
        color: #666;
        font-size: 16/$f+vw;
        font-style: normal;
        font-weight: 500;
        line-height: 24/$f+vw; /* 150% */
        margin: 0 0 76/$f+vw;
      }
    }
  }


  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .cbg{
      img{
        width: 100px;
      }
    }

    .cbg2{
      img{
        width: 100px;
        top: 40vw;
      }
    }


    [aos]{
      transition-delay: unset!important;
    }

    .common_button{
      height: 60px;
      padding: 0 35px 0 79px;
      &:before{
        width: 60px;
        height: 60px;
        border-radius: 50%;
      }
      .dot{
        width: 44px;
        height: 44px;
        left: 8px;
      }
      .text{
        font-size: 16px;
      }
      &:hover{
        padding: 0 35px 0 58px;
        &:before{
          border-radius: 35px;
        }
      }
    }

    .common_more{
      width: 160px;
      height: 37px;
      border-radius: 35px;
      .circle{
        width: 6px;
        height: 6px;
        margin: 0 10px 0 0;
      }
      p{
        font-size: 13px;
        line-height: 1;
      }
    }

    .section1{
      padding: 30px 5% 40px 5%;
      flex-direction: column;
      .r{
        width: 100%;
        margin: 20px 0 0 0;
        height: auto;
        canvas{
          display: none;
        }
        img{
          width: 100%;
          display: block!important;
        }
      }
      .l{
        width: 100%;
        margin: 0;
        .title{
          font-size: 24px;
          line-height: 1.2;
          margin: 0 0 10px;
        }
        .pick{
          font-size: 14px;
          line-height: 1.6;
          margin: 0 0 20px;
        }
      }
    }

    .section2{
      padding: 0 5% 30px 5%;
      .end{
        padding: 0;
        justify-content: unset;
        .title{
          h1{
            font-size: 24px;
            margin: 0 0 20px;
          }
        }
      }
      .content{
        .block{
          height: 40px;
          bottom: -5px;
          border-radius: 30px;
        }
        .button{
          img{
            width: 35px;
            height: 35px;
          }
        }
        .swiper1{
          width: 70%;
          padding: 0 0 10px;
          .swiper-wrapper{
            .swiper-slide{
              .img{
                width: 100%;
                height: 263px;
                transform: scale(1) !important;
              }
              .text{
                font-size: 14px;
                line-height: 1.5;
                &:after{
                  bottom: -2px;
                  transform: scaleX(1) !important;
                  height: 1px;
                }
              }
            }
          }
        }
      }
    }

    .section3{
      padding: 35px 5% 30px 5%;
      .bg1{
        width: 70px;
      }
      .title{
        h1{
          font-size: 24px;
          margin: 0 0 20px;
        }
      }
      .content{
        margin: 30px 0 0 0;
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
       .item{
         padding: 0 0 20px;
         border-radius: 15px;
         .text{
           font-size: 14px;
         }
       }
      }
      .content2{
        margin: 15px 0 0 0;
        padding: 40px 5%;
        border-radius: 15px;
        h1{
          font-size: 24px;
          margin: 0 0 10px;
        }
        .text{
          font-size: 14px;
          line-height: 2;
        }
      }
    }

    .section4{
      flex-direction: column;
      padding: 0 5% 30px 5%;
      .l{
        width: 100%;
        .title{
          font-size: 24px;
          line-height: 1.5;
        }
        .pick{
          font-size: 14px;
          line-height: 2;
        }
      }
      .r{
        margin: 20px 0 0 0;
        .figure{
          width: 100%;
          margin: 0;
          .item{
            span{
              font-size: 24px;
              line-height: 2;
            }
            p{
              font-size: 12px;
              line-height: 1.8;
            }
          }
        }
        .images{
          flex-direction: column;
          gap: 20px 0;
          .img{
            width: 100%;
            height: auto;
            margin: 0;
            img{
              width: 100%;
            }
          }
        }
      }
    }

    .section5{
      padding: 30px 5% 40px 5%;
      flex-direction: column;
      .r{
        width: 100%;
        margin: 25px 0 0 0;
        &:after{
          width: 80px;
        }
        &:before{
          width: 80px;
        }
      }
      .l{
        width: 100%;
        .title{
          font-size: 24px;
          margin: 0 0 15px;
        }
        .pick{
          font-size: 14px;
          line-height: 2;
        }
      }
    }

  }
}